package com.zhang.service;

import com.github.pagehelper.PageInfo;
import com.zhang.domain.Permissions;
import com.zhang.domain.Role;
import com.zhang.query.RoleQuery;

import java.util.List;

/**
 * @author zh
 * @create 2022-02-14 9:24
 */
public interface IPermissionService {

    List<Permissions> findPermission();

    List<Integer> findMyPermission(Long roleId);

    void addRp(Long roleId,Long[] permissionIds);

    Long findRoIdById(Long id);
}
